What is ex meaning?

The term 'ex' is predominantly used as an abbreviation for the word 'ex-boyfriend' or 'ex-girlfriend', implying that a person was in a romantic relationship with someone in the past. However, 'ex' can also be used as a prefix to refer to a former position or status that someone held. For instance, 'ex-president' refers to the former president of a country. Additionally, 'ex' can also be a mathematical term commonly used to denote an unknown variable. In certain legal terms, 'ex' might stand for 'ex parte,' which means a motion requested and heard by the court without the presence of the opposing party.